﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using VSIXModel.Entitys;

namespace VSIXDomeDAL
{
    public class VSIXDbContext : DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            var conStr = "";
            optionsBuilder.UseMySQL(conStr);
            base.OnConfiguring(optionsBuilder);
        }

        public virtual DbSet<DeptEntity> Depts { get; set; }
        public virtual DbSet<UserExtEntity> UserExts { get; set; }
        public virtual DbSet<UserEntity> Users { get; set; }
    }
}
